SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vweMensajes
AS
SELECT     IDMensaje AS ID, Fecha, Destino, Asunto, TipoAsunto, Estado
FROM         dbo.Tb_Mensajes
GO
GRANT SELECT ON  [dbo].[vweMensajes] TO [public]
GRANT INSERT ON  [dbo].[vweMensajes] TO [public]
GRANT UPDATE ON  [dbo].[vweMensajes] TO [public]
GRANT SELECT ON  [dbo].[vweMensajes] TO [SoloVer]
GO
